---
apiVersion: v1
kind: Secret
type: kubernetes.io/tls
metadata:
  name: gatekeeper-webhook-server-cert
  namespace: d8-admission-policy-engine
  {{- include "helm_lib_module_labels" (list . (dict "app" "gatekeeper")) | nindent 2 }}
data:
  tls.crt: {{ .Values.admissionPolicyEngine.internal.webhook.crt | b64enc | quote }}
  tls.key: {{ .Values.admissionPolicyEngine.internal.webhook.key | b64enc | quote }}
  ca.crt: {{ .Values.admissionPolicyEngine.internal.webhook.ca | b64enc | quote }}
